package com.xopencode.account.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.web.bind.annotation.Mapping;

/**
 * @author Mcb
 * @date 2022/4/23
 * @apiNote
 */
@Mapper
public interface AccountDao {

    @Update("UPDATE account SET money = #{number} WHERE id = #{id}")
    void changeAccount(int id,int number);
}
